package com.jwp.thread;

/**
 * 线程池配置
 * 
 * @author songdawei
 * @version 1.0
 * @date 2008-07-19
 */
public class ThreadPoolConfig {
	// 线程池名称
	private String poolName;
	// 最大线程数目
	private String maxThreads;
	// 最小线程数目
	private String minThreads;
	// 线程存活时间(秒)
	private String keepAlive;
	// 队列类型 1:LinkedBlockingQueue 2:SynchronousQueue (暂时为1)
	private String queueType;
	// 队列最大数 (空为Integer.MAX_VALUE)(最好是有值否则会出现溢出)
	private String maxQueues;
	// 优先级
	private String priority;

	public String getMaxQueues() {
		return maxQueues;
	}

	public void setMaxQueues(String maxQueues) {
		this.maxQueues = maxQueues;
	}

	public String getMaxThreads() {
		return maxThreads;
	}

	public void setMaxThreads(String maxThreads) {
		this.maxThreads = maxThreads;
	}

	public String getMinThreads() {
		return minThreads;
	}

	public void setMinThreads(String minThreads) {
		this.minThreads = minThreads;
	}

	public String getPoolName() {
		return poolName;
	}

	public void setPoolName(String poolName) {
		this.poolName = poolName;
	}

	public String getPriority() {
		return priority;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public String getKeepAlive() {
		return keepAlive;
	}

	public void setKeepAlive(String keepAlive) {
		this.keepAlive = keepAlive;
	}

	public String getQueueType() {
		return queueType;
	}

	public void setQueueType(String queueType) {
		this.queueType = queueType;
	}

}
